import request from '@/utils/request'

// 暂时也定0 首页轮播、1个人中心菜单

export function meetingVenueAdd(data) {
  return request({
    url: `/meeting/venue`,
    method: 'post',
    data
  })
}

export function meetingVenueList(params) {
  return request({
    url: `/meeting/venue/list`,
    method: 'get',
    params
  })
}

export function meetingVenueEdit(data) {
  return request({
    url: `/meeting/venue`,
    method: 'put',
    data
  })
}

export function meetingVenueDelete(configIds) {
  return request({
    url: `/meeting/venue/${configIds}`,
    method: 'delete'
  })
}

export function meetingVenueDetails(configId) {
  return request({
    url: `/meeting/venue/${configId}`,
    method: 'get'
  })
}
